#!/bin/bash

unlink /etc/localtime
ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
java -Djava.security.egd=file:/dev/./urandom \
 -Dfile.encoding=UTF8 \
 -Duser.timezone=GMT+08 \
 -jar \
 -XX:MetaspaceSize=128m \
 -XX:MaxMetaspaceSize=128m \
 -Xms1024m \
 -Xmx1024m \
 -Xmn256m \
 -Xss256k \
 -XX:SurvivorRatio=8 \
 -XX:+UseConcMarkSweepGC \
 ruoyi.jar

